﻿<Window x:Class="Boggle.Net.Views.MainView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:cal="http://www.caliburnproject.org" 
        WindowStartupLocation="CenterScreen" 
        MinHeight="360" Height="450" MinWidth="600" Width="600">
    
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="..\Styles\Styles.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <DockPanel>
        <Border DockPanel.Dock="Top" Background="{StaticResource BackgroundBrush}" Padding="4">
            <DockPanel>
                <Button x:Name="GenerateGame" Content="_New" Style="{StaticResource StandardButton}" />
                <ContentControl cal:View.Model="{Binding ActiveItem}" cal:View.Context="ToolBar" Margin="4,0,0,0" />
            </DockPanel>
        </Border>

        <Border DockPanel.Dock="Bottom" Background="{StaticResource BackgroundBrush}" Padding="4,2,4,2">
            <DockPanel>
                <TextBlock Text=" "/>
                <ContentControl cal:View.Model="{Binding Path=ActiveItem.SearchStatistics}" />
            </DockPanel>
        </Border>

        <ContentControl x:Name="ActiveItem" />
    </DockPanel>
</Window>
